package com.cumt.threeway.model;


import java.io.Serializable;

public class User implements Serializable{
	private int userID = 0;
	private String Name = null;
	private String fullName = null;
	private String account = null;
	private String psw = null;
	private int accountType = 0;//账户类型，如mxr注册账号:0，华师大账号:1
	private int accountSource = 0;//第三方账号，QQ:1，Weibo:2
	private int gender = 1;//性别，女:0，男:1
	private String grade="";//年级
	private String ImagePath        = null;
	private int    HotPointCount    = 0;
	private int    OnLineCount      = 0;
	private int    OffLineCount     = 0;
	private int sharedCount=0;
	private int    passKid          = 0;//打败多少小朋友
	private boolean isNeedUpload = true;
	private boolean isLogin = false;
	private String serverUrl;//用户登陆后服务器返回的后续访问服务的链接地址
	private String schoolID = null;
	private String schoolName = null;
	private String classID = null;
	private String className = null;
	private String provinceID = null;
	private String provinceName = null;
	private String cityID = null;
	private String cityName = null;
	private String areaID = null;
	private String areaName = null;
	private int userBackCode;
    private String errorMsg;//错误信息
    private String age = "0-3";
    
    //V2.5 梦想币
    private int deltaHotPointCount = 0;
    private String mxrCoin = null;
    private String deviceId = null;
    private String bindPhone = null;
  
    public String getBindPhone() {
		return bindPhone;
	}

	public void setBindPhone(String bindPhone) {
		this.bindPhone = bindPhone;
	}

	private boolean isExists = false;
	
	public boolean isExists() {
		return isExists;
	}

	public void setExists(boolean isExists) {
		this.isExists = isExists;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public int getSharedCount() {
		return sharedCount;
	}
	
	public void setSharedCount(int sharedCount) {
		this.sharedCount = sharedCount;
	}
	

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	
	public String getImagePath() {
		return ImagePath;
	}

	public void setImagePath(String imagePath) {
		ImagePath = imagePath;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPsw() {
		return psw;
	}

	public void setPsw(String psw) {
		this.psw = psw;
	}

	public int getAccountType() {
		return accountType;
	}

	public int getAccountSource() {
		return accountSource;
	}

	public void setAccountSource(int accountSource) {
		this.accountSource = accountSource;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	
	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public int getHotPointCount() {
		return HotPointCount;
	}

	public void setHotPointCount(int hotPointCount) {
		HotPointCount = hotPointCount;
	}
	
	public int getOnLineCount() {
		return OnLineCount;
	}

	public void setOnLineCount(int onLineCount) {
		OnLineCount = onLineCount;
	}

	public int getOffLineCount() {
		return OffLineCount;
	}

	public void setOffLineCount(int offLineCount) {
		OffLineCount = offLineCount;
	}
	
	public int getPassKid() {
		return passKid;
	}

	public void setPassKid(int passKid) {
		this.passKid = passKid;
	}
	
	public boolean isNeedUpload() {
		return isNeedUpload;
	}

	public void setNeedUpload(boolean isNeedUpload) {
		this.isNeedUpload = isNeedUpload;
	}

	public boolean isLogin() {
		return isLogin;
	}

	public void setLogin(boolean isLogin) {
		this.isLogin = isLogin;
	}

	public int getUserBackCode() {
		return userBackCode;
	}

	public void setUserBackCode(int userBackCode) {
		this.userBackCode = userBackCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getServerUrl() {
		return serverUrl;
	}

	public void setServerUrl(String serverUrl) {
		this.serverUrl = serverUrl;
	}

	public String getSchoolID() {
		return schoolID;
	}

	public void setSchoolID(String schoolID) {
		this.schoolID = schoolID;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getClassID() {
		return classID;
	}

	public void setClassID(String classID) {
		this.classID = classID;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getProvinceID() {
		return provinceID;
	}

	public void setProvinceID(String provinceID) {
		this.provinceID = provinceID;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityID() {
		return cityID;
	}

	public void setCityID(String cityID) {
		this.cityID = cityID;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getAreaID() {
		return areaID;
	}

	public void setAreaID(String areaID) {
		this.areaID = areaID;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	
	public int getDeltaHotPointCount() {
		return deltaHotPointCount;
	}

	public void setDeltaHotPointCount(int deltaHotPointCount) {
		this.deltaHotPointCount = deltaHotPointCount;
	}

	public String getMxrCoin() {
		return mxrCoin;
	}

	public void setMxrCoin(String mxrCoin) {
		this.mxrCoin = mxrCoin;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("ID:");
		sb.append("|Name");
		sb.append(Name);
		sb.append("|HotPointCount");
		sb.append(HotPointCount);
		sb.append("|OnLineCount");
		sb.append(OnLineCount);
		sb.append("|OffLineCount:");
		sb.append(OffLineCount);
		return super.toString();
	}
}
